package com.sjft.cloud.commons.support.datamodel.core.rule;


import com.sjft.cloud.commons.support.datamodel.enums.ModelFieldTypeEnum;
import com.sjft.cloud.commons.support.datamodel.core.ModelFieldRule;
import lombok.Getter;
import lombok.Setter;

/**
 * CheckboxType
 *
 * @author Jin
 */
@Getter
@Setter
public class FileUploadRule implements ModelFieldRule {
    private String name = ModelFieldTypeEnum.FILE_UPLOAD_NAME;

    private String accept = "*.*";

    private Boolean require = false;

    private String message = "请选择文件！";

    private Integer wordLimit = 20;


}
